﻿using System;
using System.Windows.Forms;
using pvmoduleditor.adapter;
using pvmoduleditor.contracts.Platinen;
using pvmoduleditor.gui;
using pvmoduleditor.startguiviewmodel;

namespace pvmoduleditor.app {
    static class Program {
        [STAThread]
        static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var startGui = new StartGui() ;
            
            new Mainboard(
                startGui,  
                new Erzeuge_reduzierte_Datensätze( 
                    new Lese_Daten(), 
                    new StartGui_ViewModel_bauen() 
                )
            );

            Application.Run(startGui);
        }
    }
}
